package com.agricultural.robot.model;

/**
 * 路径模型
 */
public class Path {
    private String startPoint;
    private String endPoint;
    private String description;

    public Path(String startPoint, String endPoint, String description) {
        this.startPoint = startPoint;
        this.endPoint = endPoint;
        this.description = description;
    }

    public String getStartPoint() {
        return startPoint;
    }

    public void setStartPoint(String startPoint) {
        this.startPoint = startPoint;
    }

    public String getEndPoint() {
        return endPoint;
    }

    public void setEndPoint(String endPoint) {
        this.endPoint = endPoint;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "路径 [起点=" + startPoint + ", 终点=" + endPoint + ", 描述=" + description + "]";
    }
}
